package com.xdj.chashuiwu.clause.service.impl;

import com.xdj.chashuiwu.clause.dao.STypeDao;
import com.xdj.chashuiwu.clause.entity.STypeEntity;
import com.xdj.chashuiwu.clause.service.STypeService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xdj.common.utils.PageUtils;
import com.xdj.common.utils.Query;


@Service("sTypeService")
public class STypeServiceImpl extends ServiceImpl<STypeDao, STypeEntity> implements STypeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<STypeEntity> page = this.page(
                new Query<STypeEntity>().getPage(params),
                new QueryWrapper<STypeEntity>()
        );

        return new PageUtils(page);
    }

}